package com.fengxing.ams.web.facade.mouble.nav;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface INavDAO extends PagingAndSortingRepository<NavVO, Integer>, JpaSpecificationExecutor<NavVO>  {

	@Query(value="SELECT * FROM zyt_nav_watch where enable = 1 order by nav_sort desc", nativeQuery=true)
	List<NavVO> findAllEnable();

}
